-
"Execute any procedure" grant?
I am trying to set up a security system for my senior developers where they automatically can execute any procedure. It is in the System Administrator server role. Is there any way I can grant this role to their database role withour giving them complete System Adminstrator rights?
-
"Execute any procedure" grant? (reply)
Alias them as DBO on the Database.
------------
Mark DeWaard at 2/9/01 11:53:15 AM
I am trying to set up a security system for my senior developers where they automatically can execute any procedure. It is in the System Administrator server role. Is there any way I can grant this role to their database role withour giving them complete System Adminstrator rights?
-
"Execute any procedure" grant? (reply)
Thank you for your response.
Do you mean use sp_addalias <user_name> <alias_login_name>.
Does this allow the user to have all dbo rights? If so, wouldn't it be the same as as granting the user system_adminstrator roles. (we are using version 7.0 and the BOL indicate that it is only used for backwards compatibility)
I guess what I'mm looking for is the specific role that allows the user to execute any procedure. I know it is in oracle, I cannot find anything similar in MS SQL. I don't want to give them the rights do DBA type activities, but allow them to execute all the stored procedures without specifically granting them rights to each one.
------------
Chris Thibodeaux at 2/9/01 12:48:19 PM
Alias them as DBO on the Database.
------------
Mark DeWaard at 2/9/01 11:53:15 AM
I am trying to set up a security system for my senior developers where they automatically can execute any procedure. It is in the System Administrator server role. Is there any way I can grant this role to their database role withour giving them complete System Adminstrator rights?
-
"Execute any procedure" grant? (reply)
How about creating a DB role within you DB of Exec_AllProcs.
you can then grant exec all procs to the role and then grant role to users/group.
Some SQL to ease the pain would like :-
sp_addrole 'Exec_AllProcs'
go
select 'grant execute on '+name+' to Exec_AllProcs'
from sysobjects
where type='P'
order by name
Then using EM, give the users/group the role of Exec_AllProcs.
When adding new procs, make sure to re-run the above (minus the addrole)
------------
Mark DeWaard at 2/12/01 5:35:28 PM
Thank you for your response.
Do you mean use sp_addalias <user_name> <alias_login_name>.
Does this allow the user to have all dbo rights? If so, wouldn't it be the same as as granting the user system_adminstrator roles. (we are using version 7.0 and the BOL indicate that it is only used for backwards compatibility)
I guess what I'mm looking for is the specific role that allows the user to execute any procedure. I know it is in oracle, I cannot find anything similar in MS SQL. I don't want to give them the rights do DBA type activities, but allow them to execute all the stored procedures without specifically granting them rights to each one.
------------
Chris Thibodeaux at 2/9/01 12:48:19 PM
Alias them as DBO on the Database.
------------
Mark DeWaard at 2/9/01 11:53:15 AM
I am trying to set up a security system for my senior developers where they automatically can execute any procedure. It is in the System Administrator server role. Is there any way I can grant this role to their database role withour giving them complete System Adminstrator rights?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|